package com.prs.crm.service.oa.schedule.impl;

import java.io.File;
import java.util.List;


import com.prs.crm.context.AppContext;
import com.prs.crm.dao.oa.schedule.OthersThingsDao;
import com.prs.crm.domain.oa.schedule.OthersThings;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.oa.schedule.OthersThingsService;

public class OthersThingsServiceImpl extends BaseServiceImpl<OthersThings, OthersThingsDao> implements OthersThingsService{

	@Override
	public List<OthersThings> getAllOthersThings() {
		return this.getDao().getAllOthersThings();
	}


	@Override
	public void saveOthersThings(OthersThings othersThings) {
//			othersThings.setAppointPersons(AppContext.getAccountContext().getUser());
//			othersThings.setReceivePerson(AppContext.getAccountContext().getUser());
			this.getDao().save(othersThings);
	}


	@Override
	public List<OthersThings> findOtherThings(Integer id) {
		return this.getDao().findOtherThings(id);
	}


	@Override
	public OthersThings getTime(String time) {
		return this.getDao().getTime(time);
	}


}
